package com.cloud;

import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.DefaultBootstrapContext;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * 管理员操作的api
 *
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})//忽略数据源配置
@EnableDiscoveryClient
@RefreshScope
@Slf4j
public class ShoppingGUanLiYuanApi {
    public static void main( String[] args )
    {
        SpringApplication.run(ShoppingGUanLiYuanApi.class,args);
        log.info("********* 管理员端启动成功 ********");
    }
}
